# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit mono versionator toolchain-funcs eutils

MY_P="${P}"

DESCRIPTION="scan and extract avi/mkv informations, modify FourCC informations"
SRC_URI="http://themonospot.googlecode.com/files/${MY_P}.tar.gz"
HOMEPAGE="http://www.integrazioneweb.com/themonospot"
RDEPEND=">=dev-lang/mono-1.2.4
		>=dev-dotnet/gtk-sharp-2.0
		>=dev-dotnet/glade-sharp-2.0"
DEPEND="${RDEPEND}"
KEYWORDS="~x86"
LICENSE="GPL-2"
SLOT="0"
S="${WORKDIR}/${MY_P}"
MAKEOPTS="${MAKEOPTS} -j1"

src_compile() {
	econf || die "econf failed"
	emake || die "emake failed" 
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
}

pkg_postinst() {
	einfo "Please read the documentation provided in"
	einfo "  /usr/share/doc/${PF}/README.gz"
}
